package com.link_with_health.model;

import java.io.Serializable;

public class HospitalEntity implements Serializable {
    private Long hospitalId;
    private String hospitalName;
    private String introduction;
    private String telephone;
    private String location;
    private Integer grade;
    private Integer areaId;

    //补充
    private String gradeName;


    public HospitalEntity() {
    }

    public HospitalEntity(Long hospitalId, String hospitalName, String introduction, String telephone, String location, Integer grade, Integer areaId) {
        this.hospitalId = hospitalId;
        this.hospitalName = hospitalName;
        this.introduction = introduction;
        this.telephone = telephone;
        this.location = location;
        this.grade = grade;
        this.areaId = areaId;
    }

    public long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }


    @Override
    public String toString() {
        return "HospitalsEntity{" +
                "hospitalId=" + hospitalId +
                ", hospitalName='" + hospitalName + '\'' +
                ", introduction='" + introduction + '\'' +
                ", telephone='" + telephone + '\'' +
                ", location='" + location + '\'' +
                ", grade=" + grade +
                ", areaId=" + areaId +
                '}';
    }
}
